package com.iplay.principle.LOD;

import java.util.List;

/**
 * @author dangwu
 * @since 2021/9/7 1:03 下午
 */
public class GroupLeader2 {
    private List<Girl> girls;

    public GroupLeader2(List<Girl> girls){
        this.girls = girls;
    }
    public void countGrils(List<Girl> girls){
        System.out.println("女生的数量是："+girls.size());
    }

}
